package config;

public class Parameters {


	// View names and class names
	public static final String LOGIN_VIEW_NAME = "login";
	public static final String TEST_VIEW_NAME = "test";
	public static final String MAIN_VIEW_NAME = "main";
	public static final String APP_VIEW_NAME = "app";
	public static final String FRM_VIEW_NAME = "frm";
	public static final String LOGOUT_VIEW_NAME = "logout";;

	public static final String[][] viewCatalog = {
			// Always set login view in the first component
			{ LOGIN_VIEW_NAME, "LoginView", "INI" },
			{ TEST_VIEW_NAME, "TestView", "NOT_INI" },
			{ MAIN_VIEW_NAME, "MainView", "NOT_INI" },
			{ APP_VIEW_NAME, "AppView", "NOT_INI" },
			{ FRM_VIEW_NAME, "FrmView", "NOT_INI" },
			{ LOGOUT_VIEW_NAME, "LogOutView", "INI" }, };
	public static final String VIEW_PACKAGE = "views.";
	public static final String DAO_PACKAGE = "dao.entities";
	public static final String CONTROLLER_PACKAGE = "controllers";
	public static final String CONTROLLER_SUFFIX = "Controller";

	// DB Connection parameters
	public static final String DB_DATA_SOURCE = "mydata";
	public static final String DB_LOG_SOURCE = "mylog";

	// Message files

	public static final String MSG = "message/message";
	public static final String MSG_APP_LONG = "message/messageAppLong";

	// Language parameters
	public static final String[] LNG_ICO = { "spain.png", "catalonia.png",
			"france.png", "germany.png", "united-kingdom.png" };
	public static final String[] LNG_NAME = { "es", "ca", "fr", "de", "en" };

	// Finding icons
	public static final String ICO_APP_PATH = "../Theme02/ico/apps/";
	public static final String ICO_LOGO_PATH = "../Theme02/ico/logos/";
	public static final String ICO_FLAGS48_PATH = "../Theme02/ico/flags48x48/";
	public static final String ICO_COMMON_PATH = "../Theme02/ico/common/";

	// Applications
	public static final String APP_LIST = "/config/applications.cnf";
	public static final String FRM_LIST = "/config/menufrms.cnf";
	public static final String ACT_LIST = "/config/menuacts.cnf";
	public static final String PROFILES_LIST = "/config/Profiles.cnf";
	public static final String CONFIG_PATH = "/config/";
	
	//
	public static final int INSERTAR = 2;
	
}